revdeck 0.4.5 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,44 @@ All notable changes to this project are documented here. The format is based on
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.5.0] - 2026-11-13
10
+
11
+ ### Added
12
+
13
+ - Analytics tab and `revdeck stats <N>` with accepted/rejected/pending findings, acceptance rate and
14
+ rejected suggestions.
15
+ - Change groups (explicit `review.groups` or automatic by file kind/module) in Overview and context.
16
+ - Optional secret scan (`review.secrets`, `revdeck scan <N>`) with masked previews only.
17
+ - Optional review version history (`review.history`, `revdeck versions <N>`, Overview timeline).
18
+ - `.revdeck.local.yml` / `.revdeck.local.yaml` personal overrides with recursive merge, local array
19
+ replacement, gitignore entries, and read-only escalation that cannot be disabled locally.
20
+ - Expanded built-in review roles and custom roles with title, description, criteria and instructions;
21
+ role/shard context resolves them from the project config.
22
+ - `review.readOnly`: server-side ban on drafts, findings, comments, reactions, checks and publishing,
23
+ with a UI banner and disabled publish action.
24
+ - Run configured checks from the Rules tab with explicit confirmation and per-check output; read-only
25
+ reviews hide the runner.
26
+ - Batch review opening: `revdeck open 345 344 556` and an array input for `revdeck_open`; each review
27
+ keeps its own agent group.
28
+ - Multi-agent review plan in `.revdeck.yml` (`review.agents`, `review.roles`) with role catalog, role/shard
29
+ context via `revdeck context --role --shard` and MCP `role`/`shard`, plus lead/worker instructions in
30
+ the skill.
31
+
32
+ ## [0.4.6] - 2026-11-12
33
+
34
+ ### Added
35
+
36
+ - A **Close thread** button in the thread card records the resolve intent and opens the publish
37
+ confirmation, so a thread can be closed without hunting for the checkbox.
38
+
39
+ ### Fixed
40
+
41
+ - Overview thread and line-comment paths truncate inside the card and have a copy button.
42
+
43
+ ### Documentation
44
+
45
+ - Clarify that `rules.sources` takes exact document paths, not glob patterns.
46
+
9
47
  ## [0.4.5] - 2026-11-12
10
48
 
11
49
  ### Documentation
package/README.md CHANGED
@@ -160,6 +160,41 @@ Every finding has a private **Note for the agent** field, and every thread has t
160
160
  reply. The text is included in `revdeck_context` / MCP but never published to GitLab or GitHub. Findings
161
161
  also keep their decision note separately.
162
162
 
163
+ ## Multi-agent review
164
+
165
+ Configure independent reviewers in `.revdeck.yml`:
166
+
167
+ ```yaml
168
+ review:
169
+ agents: 3
170
+ roles: [correctness, architecture, tests]
171
+ ```
172
+
173
+ The lead agent reads this plan from `revdeck_context`, starts one subagent per role/shard, and gives each
174
+ `revdeck context <N> --role <role> --shard i/N` (the MCP tool takes the same `role` and `shard`). Workers
175
+ return findings as JSON and do not write to revdeck; the lead deduplicates by `file:line:title` and writes
176
+ the final summary/findings once.
177
+
178
+ Built-in roles: `correctness`, `architecture`, `tests`, `security`, `performance`, `compatibility`,
179
+ `docs`, `concurrency`, `ux`, `data`, `api`, `dependencies`, `observability`, `build`, `privacy`,
180
+ `general`. Default is three agents with correctness, architecture and tests. A role list shorter than
181
+ `agents` is repeated. Custom roles with a title, description, criteria and instructions live in
182
+ `review.customRoles`.
183
+
184
+ Several reviews can be opened together: `revdeck open 345 344 556` or `revdeck_open` with an array of
185
+ inputs. Each review gets its own group of agents; findings from different MRs are never merged.
186
+
187
+ ## Analytics, secrets and history
188
+
189
+ - **Analytics** tab and `revdeck stats <N>`: accepted/rejected/pending findings, acceptance rate,
190
+ threads, drafts and the list of rejected suggestions with their notes.
191
+ - **Change groups**: explicit `review.groups` or automatic grouping by file kind/module; shown in
192
+ Overview and in the agent context.
193
+ - **Secret scan** (optional): `review.secrets.enabled: true`; `revdeck scan <N>`; only masked previews
194
+ are exposed.
195
+ - **Version history** (optional): `review.history.enabled: true`; `revdeck versions <N>` and the
196
+ Overview timeline.
197
+
163
198
  ## Devcontainer
164
199
 
165
200
  The daemon, `glab` and `gh` stay on the host. From the repository root:
@@ -218,7 +253,9 @@ Harness matrix and slash commands: [docs/integrations.md](docs/integrations.md).
218
253
 
219
254
  ## Rules
220
255
 
221
- `.revdeck.yml` at the repository root:
256
+ `.revdeck.yml` at the repository root; personal overrides go to `.revdeck.local.yml` (ignored by git and
257
+ added by `init`). Local objects merge recursively, local arrays replace, and a base `review.readOnly`
258
+ cannot be disabled locally.
222
259
 
223
260
  ```yaml
224
261
  version: 1
@@ -301,8 +338,10 @@ Provider tests use recorded CLI responses and need no network. See [CONTRIBUTING
301
338
  - Project checks are planned by the agent; running them requires `revdeck checks --run --yes`.
302
339
  - The UI opens a review from the **Open review** dialog; the working-copy root is required so the daemon
303
340
  can read `.revdeck.yml`.
304
- - Thread resolution is in the thread card; reactions are available on thread notes and on the MR/PR
305
- description. Own platform comments can be edited or deleted from the thread card.
341
+ - Thread resolution is in the thread card; the **Close thread** button records the resolve intent and
342
+ opens the publish confirmation, so closing is still a human-approved action. Reactions are available
343
+ on thread notes and on the MR/PR description. Own platform comments can be edited or deleted from the
344
+ thread card.
306
345
  - Reactions are loaded for every thread note after the review snapshot and refresh, so they are visible
307
346
  without an extra click.
308
347
  - Published findings start with a severity marker (🟥 blocker, 🟧 major, 🟨 minor, 🟦 question), so the
package/README.ru.md CHANGED
@@ -146,6 +146,41 @@ API загрузки вложений, поэтому кнопка там отк
146
146
  ответом. Текст попадает в `revdeck_context` / MCP, но никогда не публикуется в GitLab или GitHub.
147
147
  Решение по замечанию хранится отдельно.
148
148
 
149
+ ## Многоагентное ревью
150
+
151
+ Независимые ревьюеры настраиваются в `.revdeck.yml`:
152
+
153
+ ```yaml
154
+ review:
155
+ agents: 3
156
+ roles: [correctness, architecture, tests]
157
+ ```
158
+
159
+ Лид-агент читает план из `revdeck_context`, запускает по субагенту на роль/шард и выдаёт каждому
160
+ `revdeck context <N> --role <роль> --shard i/N` (MCP-инструмент принимает те же `role` и `shard`).
161
+ Воркеры возвращают замечания JSON и не пишут в revdeck; лид дедуплицирует по `file:line:title` и один
162
+ раз записывает итоговые summary/findings.
163
+
164
+ Встроенные роли: `correctness`, `architecture`, `tests`, `security`, `performance`, `compatibility`,
165
+ `docs`, `concurrency`, `ux`, `data`, `api`, `dependencies`, `observability`, `build`, `privacy`,
166
+ `general`. По умолчанию три агента: correctness, architecture, tests. Если ролей меньше, чем `agents`,
167
+ список повторяется. Кастомные роли с названием, описанием, критериями и инструкциями задаются в
168
+ `review.customRoles`.
169
+
170
+ Несколько ревью можно открыть одной командой: `revdeck open 345 344 556` или `revdeck_open` с массивом
171
+ входов. Для каждого ревью запускается своя группа агентов; замечания разных MR не смешиваются.
172
+
173
+ ## Аналитика, секреты и история
174
+
175
+ - Вкладка **Аналитика** и `revdeck stats <N>`: принятые/отклонённые/ожидающие замечания, acceptance
176
+ rate, треды, черновики и список отклонённых предложений с заметками.
177
+ - **Группы изменений**: явные `review.groups` или автоматическая группировка по типу файла/модулю;
178
+ видны в «Обзоре» и в контексте агента.
179
+ - **Скан секретов** (опционально): `review.secrets.enabled: true`; `revdeck scan <N>`; наружу
180
+ отдаются только замаскированные preview.
181
+ - **История версий** (опционально): `review.history.enabled: true`; `revdeck versions <N>` и таймлайн
182
+ в «Обзоре».
183
+
149
184
  ## Devcontainer
150
185
 
151
186
  Демон, `glab` и `gh` остаются на хосте. Из корня репозитория:
@@ -203,7 +238,9 @@ HTTP: достаточно `revdeck daemon restart`, потому что `daemon
203
238
 
204
239
  ## Правила проекта
205
240
 
206
- `.revdeck.yml` в корне репозитория:
241
+ `.revdeck.yml` в корне репозитория; личные переопределения — в `.revdeck.local.yml` (игнорируется git,
242
+ добавляется `init`). Локальные объекты сливаются рекурсивно, массивы заменяются, а базовый
243
+ `review.readOnly` нельзя отключить локально.
207
244
 
208
245
  ```yaml
209
246
  version: 1
@@ -287,8 +324,10 @@ npm run build # dist/cli.js, dist/daemon.js, dist/mcp.js, dist/ui
287
324
  - Проверки проекта агент только планирует; запуск — `revdeck checks --run --yes`.
288
325
  - UI открывает ревью через диалог **Открыть ревью**; нужен корень рабочей копии, чтобы демон
289
326
  прочитал `.revdeck.yml`.
290
- - Резолв тредов есть в карточке треда; реакции доступны на комментариях тредов и на описании MR/PR.
291
- Свои комментарии платформы можно редактировать и удалять из карточки треда.
327
+ - Резолв тредов есть в карточке треда; кнопка **Закрыть тред** записывает намерение закрыть и открывает
328
+ подтверждение публикации, поэтому закрытие остаётся действием с подтверждением человека. Реакции
329
+ доступны на комментариях тредов и на описании MR/PR. Свои комментарии платформы можно редактировать
330
+ и удалять из карточки треда.
292
331
  - Реакции загружаются для каждого комментария треда после загрузки и обновления ревью, поэтому видны
293
332
  без дополнительного клика.
294
333
  - Опубликованные замечания начинаются с маркера важности (🟥 blocker, 🟧 major, 🟨 minor, 🟦 question),